package com.uni.service.impl;


import com.uni.common.util.PageBean;
import com.uni.entity.OtherRequire;
import com.uni.mapper.OtherRequireMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OtherRequireService {

    @Autowired
    private OtherRequireMapper otherRequireMapper;

    public List<OtherRequire> findList(PageBean<OtherRequire> pageBean){
        return otherRequireMapper.findList(pageBean);
    }

    public int countList(PageBean<OtherRequire> pageBean){
        return otherRequireMapper.countList(pageBean);
    }

    public Integer insert(OtherRequire otherRequire){
        return otherRequireMapper.insert(otherRequire);
    }

    public Integer update(OtherRequire otherRequire){
        return otherRequireMapper.update(otherRequire);
    }
    public Integer delete(List<String> ids){
        return otherRequireMapper.delete(ids);
    }
}
